import React from 'react';
/**
 * 拖动时展示的标题卡片
 * @param {string} title
 */
const DraggingHTML = React.forwardRef(({ title, ...rest }, ref) => {
    const { style, ...otherRest } = rest;
    return (
        <div
            ref={ref}
            {...otherRest}
            style={{
                ...style,
                padding: '5',
                height: '45',
                backgroundColor: '#fff',
                margin: '0 0 8 0'
            }}
        >
            <h4>{title}</h4>
        </div>
    );
});
export default DraggingHTML;
